GtkApplication: Extract accelerators from menus
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Dec 2011 22:41:56 +0000 (17:41 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:11 +0000 (12:51 -0500)
commitf7244431a9c8d01e348993aaf5d05420c3f7523d
treeb3fd60dd03052ee8bf29755d713f3ec1eebb55af
parent2398d7e900708bca24cf38bba9d87c920d7bb69f
GtkApplication: Extract accelerators from menus

This allows to specify accelerators in a convenient way, by
adding accel="..." attributes to the menu items in the
XML for the menu.

Currently, the accelerators are extracted only once, when the
menu property is changed on the application.
gtk/gtkapplication.c